package com.rongzhe.house.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.TextView;

import com.rongzhe.house.R;
import com.rongzhe.house.ui.presenter.LookForHouseOrderSuccessPresenter;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by zhongyanli on 2018/1/28.
 */

public class LookForHouseOrderSuccessActivity
        extends BaseActivity<LookForHouseOrderSuccessPresenter> {

    @Override
    protected LookForHouseOrderSuccessPresenter createPresenter() {
        return new LookForHouseOrderSuccessPresenter(this);
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_order_success);
        ButterKnife.bind(this);

    }
    @OnClick(R.id.btn_appointment)
    public void launchToAppointment() {
        mPresenter.onAppointMentClick();
    }
    @OnClick(R.id.btn_find_house)
    public void onFindHouseClick() {
        mPresenter.onContinueLookForHouseClick();
    }
}
